Method and apparatus for performing speech segmentation

ABSTRACT

In a method for performing a segmentation operation upon a synthesizing speech signal and an input speech signal, a synthesized speech signal and a speech element duration signal are generated from the synthesizing speech signal A first feature parameter is extracted from the synthesized speech signal, and a second feature parameter is extracted from the input speech signal. A dynamic programming matching operation is performed upon the second feature parameter with reference to the first feature parameter and the speech element duration signal to obtain segmentation points of the input speech signal.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a method and apparatus for performing a speech segmentation upon an unknown speech signal using a known speech signal.

[0003] 2. Description of the Related Art

[0004] In a first prior art speech segmentation apparatus, a feature parameter is extracted from an input speech signal. Then, segmentation points of speech elements are determined by detecting changes in the feature parameter (see: JP-A-64-44492).

[0005] In the above-described first prior art speech segmentation apparatus, however, if each change of the feature parameter is small, it is impossible to detect such a change, so that the performance of determination of segmentation points deteriorates.

[0006] In a second prior art speech segmentation apparatus, if the sequence of speech elements of an input speech signal is known, segmentation points of the speech elements of the input speech signal are determined by visually comparing the feature parameter thereof with that of a known speech signal.

[0007] In the above-described second prior art speech segmentation apparatus, however, since the determination of segmentation points is visually carried out, the cost therefor is increased. Also, if a paused interval is included in the known speech signal, an input speech signal is also generated by introducing a paused interval in a voice, which would trouble a person who speaks to generate the voice. Further, since some vowels are easily caused to be silent, a person has to be careful in speaking such vowels to make them correspond to those of the known speech signal.

[0008] In a third prior art speech segmentation apparatus, the segmentation points of speech elements are automatically determined by using a hidden Markov model (HMM).

[0009] In the above-described third prior art speech segmentation apparatus, however, since the time limitation is loose, the accuracy of segmentation points around boundaries between speech elements is low. Although the accuracy of segmentation points can be enhanced by learning a highly accurate reference speech signal of a specific person, such a highly-accurate reference speech signal is not easy to obtain.

SUMMARY OF THE INVENTION

[0010] It is an object of the present invention to provide a method and apparatus for performing a speech segmentation capable of enhancing the performance of determination of segmentation points.

[0011] According to the present invention, in a method for performing a segmentation operation upon a speech signal and an input speech signal, a synthesized speech signal and a speech element duration signal are generated from the test speech signal. A first feature parameter is extracted from the synthesized speech signal, and a second feature parameter is extracted from the input speech signal. A dynamic programming matching operation is performed upon the second feature parameter with reference to the first feature parameter and the speech element duration signal to obtain segmentation points of the input speech signal.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The present invention will be more clearly understood from the description set forth below, with reference to the accompanying drawings, wherein:

[0013]FIG. 1 is a block circuit diagram illustrating an embodiment of the speech segmentation apparatus according to the present invention;

[0014]FIG. 2 is a detailed block circuit diagram of the matching unit of FIG. 1;

[0015]FIG. 3 is a flowchart for explaining the operation of the DP matching unit 331 of FIG. 2;

[0016]FIG. 4A is a timing diagram showing the speech feature parameter of FIG. 2 for explaining the flowchart of FIG. 3;

[0017]FIG. 4B is a timing diagram showing the input feature parameter of FIG. 2 for explaining the flowchart of FIG. 3;

[0018]FIG. 5A is a timing diagram showing the searched path width and weight in the paused intervals of the input feature parameter of FIG. 2;

[0019]FIG. 5B is a timing diagram showing the searched path width and weight in the non-paused intervals of the input feature parameter of FIG. 2;

[0020]FIG. 6 is a flowchart for explaining the operation of the pause boundary determining unit of FIG. 2;

[0021]FIG. 7 is a flowchart for explaining the operation of the DP matching unit 333 of FIG. 2;

[0022]FIG. 8A is a timing diagram showing the speech feature parameter of FIG. 2 for explaining the flowchart of FIG. 7;

[0023]FIG. 8B is a timing diagram showing the input feature parameter of FIG. 2 for explaining the flowchart of FIG. 7;

[0024]FIG. 9 is a diagram showing the DP matching result of the DP matching unit 331 of FIG. 2;

[0025]FIG. 10 is another flowchart for explaining the operation of the DP matching unit 333 of FIG. 2;

[0026]FIG. 11 is a diagram showing the DP matching result of the DP matching unit 333 of FIG. 2;

[0027]FIG. 12 is a block circuit diagram illustrating a speech corpus forming apparatus for speech synthesizing to which the speech segmentation apparatus of FIG. 1 is applied;

[0028]FIG. 13 is a block circuit diagram illustrating another speech corpus forming apparatus for speech synthesizing to which the speech segmentation apparatus of FIG. 1 is applied;

[0029]FIG. 14 is a flowchart for explaining the operation of the apparatus of FIG. 13.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0030] In FIG. 1, which illustrates an embodiment of the speech segmentation apparatus according to the present invention, reference numeral 1 designates a speech database for storing known speech signals of the voice of a specific person in advances 2 designates a speech inputting unit for inputting an input speech signal of an unknown speech signal of a person to generate an input speech signal S_(in) and 2′ designates a text inputting unit for inputting a text to generate a text signal S_(t). In this case, the speech elements of the text signal S_(t) are the same as those of the input speech signal S_(in). A speech segmentation apparatus 3 receives a speech signal S_(d) from the speech database 1 in accordance with the text signal S_(t) and the input speech signal S_(in) from the speech inputting unit 2. In this case, since the speech elements of the speech signal S_(d) are the same as those of the text signal S_(t) the speech elements of the speech signal S_(d) are the same as those of the input speech signal S_(in).

[0031] The speech segmentation apparatus of FIG. 1 is constructed by a speech synthesizing unit 31, a feature parameter extracting unit 32, a matching unit 33, a segmentation point modifying unit 34 and a segmentation point outputting unit 35.

[0032] When the speech synthesizing unit 31 receives the speech signal S_(d) in accordance with the text signal S_(t), the speech synthesizing unit 31 generates a synthesized speech signal S_(s) and a speech element duration signal S_(e)and transmits the synthesized speech signal S_(s) and the speech element duration signal S_(c) to the feature parameter extracting unit 32 and the matching unit 33, respectively.

[0033] The feature parameter extracting unit 32 extracts a speech feature parameter P_(t) from the synthesized speech signal S_(s) and an input feature parameter P_(in) from the input speech signal S_(in) at every predetermined time period. For example, each of the feature parameters P_(t) and P_(in) is a filter bank output, i.e., power spectrum or the like.

[0034] The matching unit 33 performs a dynamic programming (DP) matching operation upon the feature parameters P_(t) and P_(in) in correspondence with the speech element duration signal S_(e), thereby obtaining segmentation points SP. The segmentation points SP are modified by the segmentation point modifying unit 34 and are outputted by the segmentation point outputting unit 35.

[0035] Note that the segmentation point modifying unit 34 determines whether or not the change of the input feature parameter P_(in) is larger than a definite value in accordance with the speech element duration signal S_(e). As a result, only when the change of the input feature parameter P_(in) is larger than the definite value, is the corresponding segmentation point moved to a point (time) where the change of the input feature parameter P_(in) is larger than the definite value.

[0036] In FIG. 2, which is a detailed block circuit diagram of the matching unit 33 of FIG. 1, the matching unit 33 is constructed by a DP matching unit 331, a pause boundary determining unit 332 and a DP matching unit 333. The DP matching unit 331 performs a DP matching operation upon the entirety of the feature parameters P_(t) and P_(in), while the DP matching unit 333 performs a DP matching operation upon each of the non-paused intervals of the feature parameters P_(t) and P_(in).

[0037] The operation of the DP matching unit 331 of FIG. 2 will be explained next with reference to a flowchart as illustrated in FIG. 3. Here, the speech feature parameter P_(t) is assumed to be changed in accordance with a coordinate t as illustrated in FIG. 4A, and the input feature parameter P_(in) is assumed to be changed in accordance with a coordinate t′ as illustrated in FIG. 4B. Both of the feature parameters show the same sequence of speech elements “d”, “e”, “w”, “a”, . . . ,

[0038] First, at step 301, it is determined whether or not there are paused intervals in the input feature parameter P_(in) where P_(in)<TH (threshold value). Only if there are paused intervals such as PI_(i) as indicated in FIG. 4B, does the control proceed to steps 302 and 303. Otherwise, the control proceeds directly to step 304.

[0039] At step 302, a searched path width W of the input feature parameter P_(in) having a coordinate t′ is made infinite in the paused intervals as illustrated in FIG. 5A. Also, at step 303, a weight of the input feature parameter P_(in) is made definite in the paused intervals as illustrated in FIG. 5A.

[0040] At step 304, the searched path width W of the input feature parameter P_(in) for the non-paused intervals are finite as illustrated in FIG. 5B. Also, at step 305, the weight of the input feature parameter P_(in) for the non-paused intervals is indefinite.

[0041] At step 306, a DP matching operation is performed upon the speech feature parameter P_(t) and the input feature parameter P_(in) using the path width and the weight made at steps 302 to 305, to obtain segmentation points.

[0042] Next, at step 307, the result of the DP matching operation is made correspondent to the speech element duration signal S_(e). That is, as illustrated in FIG. 4B, speech elements “d”, “e”, “w”, . . . are allocated to the input feature parameter P_(in).

[0043] Next, at step 308, the DP matching result including only the paused intervals and the segmentation points close thereto are outputted to the pause boundary determining unit 332. In this case, the other information of the DP matching result is scrapped.

[0044] Thus, the flowchart of FIG. 3 is completed by step 309.

[0045] The operation of the pause boundary determining unit 332 of FIG. 2 will be explained next with reference to FIG. 6 The flowchart of FIG. 6 is started by receiving the result of the DP matching operation from the DP matching unit 321.

[0046] First, at step 601, pause boundary information is determined in accordance with the paused intervals and the segmentation points close thereto.

[0047] Next, at step 602, the pause boundary information is outputted to the DP matching unit 333.

[0048] Thus, the flowchart of FIG. 6 is completed by step 603.

[0049] The operation of the DP matching unit 333 of FIG. 2 will be explained next with reference to FIG. 7. The flowchart of FIG. 7 is started by receiving the pause boundary information from the pause boundary determining unit 332. Here, the number of pause boundaries is “n”.

[0050] First, at step 701, a value i is initialized, i.e.,

i←1

[0051] At step 702, a DP matching operation is performed upon the speech feature parameter P_(t) and the input feature parameter P_(in) using the path width and the weight as illustrated in FIG. 5B, to obtain segmentation points before the boundary of the paused interval PI_(i).

[0052] Next, at step 703, the result of the DP matching operation is made correspondent to the speech element duration signal S_(e).

[0053] That is, as illustrated in FIG. 8B, if i=1, speech elements “d”, “e”, “w”, and “a” are allocated to the input feature parameter P_(in). Also, if i=2, speech elements “g”, “o”, “cl”, “k”, and “c” are allocated to the input feature parameter P_(in).

[0054] Next, at step 704, it is determined whether or not i≧n is satisfied. When i<n, the control proceeds to step 705 which increases i by +1, thus repeating the operations at steps 702 to 704. Otherwise, i.e., if i≧n, the control proceeds to step 706.

[0055] At step 706, the segmentation points are outputted to the matching point modifying unit 34.

[0056] Thus, the flowchart of FIG. 7 is completed by step 707.

[0057] In FIG. 9, which illustrates the DP matching result of the DP matching unit 331 of FIG. 2, since the searched path width W is made infinite (see step 302 of FIG. 3) and the weight is definite (see step 303 of FIG. 3), if no paused interval is allocated to the speech feature parameter P_(t), only two segmentation points such as SP₁ and SP₂ are allocated to one Paused interval of the input feature parameter P_(in).

[0058] The operation of the DP matching unit 333 of FIG. 2 for determining a silent speech element of the input feature parameter P_(in) will be explained next with reference to FIG. 10 as well as FIG. 11 which shows the DP matching result of the DP matching unit 333.

[0059] In FIG. 11, a speech element “i” is assumed to be easily caused to be silent, and a start timing t1 and an end timing t2 of the speech element “i” are stored in advance. Also, in FIG. 10, the following values are defined:

[0060] t: time of the speech feature parameter P_(t);

[0061] t′: time of the input feature parameter P_(in);

[0062] L [t] [t′]: time of the input feature parameter P_(in) where the distance between (t, t′) and (t−1, L [t] [t′]) is minimum; and

[0063] G [t] [t′] weight distance of an optimum path from (t, t′) to (o,o).

[0064] First, at step 1001, time t and time t′ are initialized, i.e.,

t←t _(f)

t′←t_(f′)

[0065] where t_(f) and t_(f′) are final times of the speech feature parameter P_(t) and the input feature parameter P_(in).

[0066] Next, at step 1002, it is determined whether or not t=t2 is satisfied. Only if t=t2, does the control proceed to step 1003 which determines whether or not G [t2] [t′]>G [t1] [t′]is satisfied. Otherwise, i.e., if t≠t2, the control proceeds to step 1007.

[0067] At step 1003, if G[t2] [t′]>G[t1] [t′], the control proceeds to step 1004 in which

t′←L[t][t′]

[0068] The operation at step 1004 is repeated by steps 1005 and 1006 until t reaches t1.

[0069] On the other hand, at step 1003, if G [t2] [t′]≦G[t1] [t′], the control proceeds to step 1007.

[0070] At step 1007,

t′←L[t][t′]

[0071] The operation at step 1002 to 1007 are repeated by steps 1008 and 1009 until t reaches 0.

[0072] Thus, the flowchart of FIG. 10 is completed by step 1010.

[0073] In FIG. 11, when the determination at step 1003 is affirmative, an optimum path is indicated by a solid line where the speech element “i” is caused to be silent. On the other hand, when the determination at step 1003 is negative, an optimum path is indicated by a dotted line where the speech element “i” is caused to be not silent.

[0074] In summary, weight distances of all the paths at times t1 and t2 are stored in advance. Then, when searching an optimum path, the distance at time t2 is compared with the distance at time t1. As a result, when the distance at time t2 is large then the distance at time t1, an optimum path is linked between a time of the input feature parameter P_(in) corresponding to t2 and the same time of the input feature parameter P_(in), corresponding to t1. On the other hand, then the distance at time t2 is smaller than the distance at time t1, searching of an optimum path is carried out in a usual manner.

[0075] Note that, if the speech element “i” of the input feature parameter P_(in) is silent, the speech element “i” (vowel) of the input feature parameter P_(in) is matched with the speech element “i” and its immediate preceding silent speech element “sh” (consonant) of the speech feature parameter P_(t). Generally, a silent consonant plus a vowel which is easily caused to be silent is longer than a vowel which is easily caused to be silent. Therefore, when carrying out a DP matching operation by the DP matching unit 323, the searched path width is caused to be increased.

[0076] In FIG. 12, which illustrates a speech corpus forming apparatus for speech synthesizing to which the speech segmentation apparatus of FIG. 1 is applied, the input speech signal S_(in) from the speech inputting unit Z and the segmentation points from the speech segmentation apparatus 3 are stored in an input speech signal/segmentation points database 4. A speech synthesizing element forming unit 5 forms speech synthesizing elements in accordance with the input speech signal S_(in) and the segmentation points stored in the input speech signal/segmentation point database 4, and stores the speech synthesizing element in a speech database 6.

[0077] In FIG. 13, which illustrates another speech corpus forming apparatus for speech synthesizing to which the speech segmentation apparatus of FIG. 1 is applied, a switch 7 is added to the elements of FIG. 12, so that speech synthesizing elements in the speech database 6 are selectively supplied as a speech signal S_(d)′ to the speech segmentation apparatus 3.

[0078] The operation of the apparatus of FIG. 13 will be explained next with reference to FIG. 14. Here, the number of voices to be segmented is assumed to be “n”.

[0079] First, at step 1401, a value i is initialized, i.e.,

i←1

[0080] Next, at step 1402, it is determined whether or not a voice V_(i) is present in the speech database 6. Only if the voice V_(i) is present in the speech database 6, does the control proceeds to step 1403 which performs a DP matching operation upon the voice V_(i) of the input speech signal S_(in) and the voice V_(i) stored in the speech database 6. Otherwise, i.e., if the speech V_(i) is not present in the speech database 6, the control proceed to step 1404 which performs a DP matching operation upon the speech V_(i) of the input speech signal S_(in) and the voice V_(i) stored in the speech database 1.

[0081] The DP matching result at steps 1403 and 1403 are stored in the input speech signal/segmentation point database 4.

[0082] The operations at steps 1402, 1403 and 1404 are repeated by steps 1405 and 1406 until i reaches n.

[0083] At step 1407, the speech synthesizing element forming unit 5 forms speech synthesizing elements in accordance with the input speech signal S_(in) and the segmentation points stored in the input speech signal/segmentation point database 4, and then, stores the speech synthesizing elements in the speech database 6.

[0084] At step 1408, it is determined whether or not the renewed matching result, i.e., the renewed segmentation points in the input speech signal/segmentation point database 4 are close to those which are previously stored therein.

[0085] The operations at steps 1401 to 1407 are repeated until the renewed segmentation points are close to the corresponding previously-stored segmentation points. In other words, the segmentation points are converged.

[0086] Thus, the flowchart of FIG. 14 is completed by step 1409.

[0087] As explained hereinabove, according to the present invention, the accuracy of determination of segmentation points can be enhanced. 

1. A method for performing a segmentation operation upon a synthesizing speech signal and an input speech signal, comprising the steps of: generating a synthesized speech signal and a speech element duration signal from said synthesizing speech signal; extracting a first feature parameter from said synthesized speech signal; extracting a second feature parameter from said input speech signal; and performing a dynamic programming matching operation upon said second feature parameter with reference to said first feature parameter and said speech element duration signal to obtain segmentation points of said input speech signal.
 2. The method as set forth in claim 1, wherein said synthesizing speech signal includes no paused intervals, said dynamic programming matching operation performing step comprising the steps of: determining whether or not there are paused intervals in said second feature parameter; and controlling a searched path width and weight of said second feature parameter for said dynamic programming operation in said paused intervals when there are said paused intervals in said second feature parameter.
 3. The method as set forth in claim 2, wherein said dynamic programming matching operation performing step further comprises a step of determining pause boundaries in accordance with said paused intervals and said segmentation points close thereto.
 4. The method as set forth in claim 3, wherein said dynamic programming matching operation performing step comprises a step of performing a further dynamic programming matching operation upon said second feature parameter partitioned by said paused intervals in accordance with said first feature parameter and said speech element duration signal.
 5. The method as set forth in claim 4, wherein said further dynamic programming matching operation performing step comprises the steps of: storing a start time and an end time of a possible silent vowel of said first feature parameter; comparing a weight distance of a path from zero time to said start time with a weight distance of a path from said zero time to said end time; and determining whether or not a vowel of said second feature parameter corresponding to said possible silent vowel of said first feature parameter is silent in accordance with a result of said comparing step.
 6. The method as set forth in claim 5, wherein said further dynamic programming matching operation performing step increases a searched path width of said first feature parameter in an interval where the vowel of said second feature parameter is determined to be silent.
 7. The method as set forth in claim 3, further comprising a step of modifying said segmentation points in accordance with a change of said second feature parameter in specific boundaries.
 8. The method as set forth in claim 1, further comprising the steps of: forming speech synthesizing elements in accordance with said input speech signal and said segmentation points; and storing said speech synthesizing elements, said synthesized speech signal/speech element duration generating step generating said synthesized speech signal and said speech element duration signal from said stored speech synthesizing elements, said dynamic programming matching operation performing step performing said dynamic matching operation until said segmentation points are converged.
 9. An apparatus for performing a segmentation operation upon a synthesizing speech signal and an input speech signal, comprising: a speech synthesizing unit for generating a synthesized speech signal and a speech element duration signal from said synthesizing speech signal; a feature parameter extracting unit for extracting a first feature parameter from said synthesized speech signal and extracting a second feature parameter from said input speech signal; and a matching unit for performing a dynamic programming matching operation upon said second feature parameter with reference to said first feature parameter and said speech element duration signal to obtain segmentation points of said input speech signal.
 10. The apparatus as set forth in claim 9, wherein said synthesizing speech signal includes no paused intervals, said matching unit comprising: means for determining whether or not there are paused intervals in said second feature parameter; and means for controlling a searched path width and weight of said second feature parameter for said dynamic programming operation in said paused intervals when there are said paused intervals in said second feature parameter.
 11. The apparatus as set forth in claim 10, wherein said matching unit further comprises means for determining pause boundaries in accordance with said paused intervals and said segmentation points close thereto.
 12. The apparatus as set forth in claim 11, wherein said matching unit comprises a further matching unit for performing a further dynamic programming matching operation upon said second feature parameter partitioned by said paused intervals in accordance with said first feature parameter and said speech element duration signal.
 13. The apparatus as set forth in claim 12, wherein said further matching unit comprises: means for storing a start time and an end time of a possible silent vowel of said first feature parameter; means for comparing a weight distance of a path from zero time to said start time with a weight distance of a path from said zero time to said end time; and means for determining whether or not a vowel of said second feature parameter corresponding to said possible silent vowel of said first feature parameter is silent in accordance with a result of said comparing means.
 14. The apparatus as set forth in claim 13, wherein said further matching unit increases a searched path width of said first feature parameter in an interval where the vowel of said second feature parameter is determined to be silent.
 15. The apparatus as set forth in claim 11, further comprising a segmentation point modifying unit for modifying said segmentation points in accordance with a change of said second feature parameter in specific boundaries.
 16. The apparatus as set forth in claim 9, further comprising: a speech synthesizing element forming unit for forming speech synthesizing elements in accordance with said input speech signal and said segmentation points; and a storing unit for storing said speech synthesizing elements, said speech synthesizing unit generating said synthesized speech signal and said speech element duration signal from said stored speech synthesizing elements, said matching unit performing said dynamic programming matching operation until said segmentation points are converged. 